<form id="frmModal" name="frmModal" action="<?php echo site_url(array('psdm','nilai','ajax','update')) ?>" method="post">
<h3 class="dialog_title"><span>Edit Nilai</span></h3>
<div class="dialog_content" style="width: 550px">
<div style="border-bottom: 1px solid #CCC; padding: 10px 0" >
<table width="100%" border="0" cellpadding="5" cellspacing="0">
	<tr>
		<td align="right" valign="top" width="35%"><div style="padding-top: 3px">Prestasi/Pelanggaran:</div></td>
		<td style="overflow: hidden;">
			<input type="hidden" name="inp[5]" value="<?php echo $nilai_id?>" />
			<input type="hidden" name="inp[0]" value="<?php echo $detachiev_id?>" />
			<input type="text" value="<?php echo $detachiev_nama?>" disabled />
			<!-- <input class="button" type="button" value="Search" onclick="do_add()" />  -->
			<table id="prepel" width="100%" style="position:  relative;">
				<tr>
					<td width="50px">Jenis:</td>
					<td><?php echo $jenis_options[$achiev_jenis]?></td>
				</tr>
				<tr>
					<td>Bidang:</td>
					<td><?php echo $achiev_bidang?></td>
				</tr>
				<tr>
					<td>Tingkat:</td>
					<td><?php echo $tingkat_options[$detachiev_tingkat]?></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align="right" valign="top"><div style="padding-top: 3px">Reward/Punishment:</div></td>
		<td>
			<input type="hidden" name="inp[1]" value="<?php echo $reward_id?>" />
			<input type="text" value="<?php echo $reward_nama?>" disabled />
			<!-- <input class="button" type="button" value="Search" onclick="do_add_callback()" />  -->
			<table id="prepel" width="100%" style="position:  relative;">
				<tr>
					<td width="50px">Jenis:</td>
					<td><?php echo $reward_options[$reward_jenis]?></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align="right">Nilai Minimal:</td>
		<td>
			<input id="inp_min" type="text" name="inp[2]" value="<?php echo $nilai_min?>" class="validate['required','digit[0,-1]','%ammountCheck','%rangeCheck']" maxlength="5" style="width: 40px; text-align: right;" />
		</td>
	</tr>
	<tr>
		<td align="right">Nilai Maksimal:</td>
		<td>
			<input id="inp_max" type="text" name="inp[3]" value="<?php echo $nilai_max?>" class="validate['required','digit[0,-1]','%ammountCheck','%rangeCheck']" maxlength="5" style="width: 40px; text-align: right;" />
		</td>
	</tr>
	<tr>
		<td align="right">Point:</td>
		<td>
			<input type="text" name="inp[4]" value="<?php echo $nilai_point?>" class="validate['required','digit[0,-1]']" maxlength="5" style="width: 40px; text-align: right;" />
		</td>
	</tr>
</table>
</div>
<div class="dialog_buttons" style="padding: 12px 10px">
	<input class="button" type="submit" value="Save"  />
	<input class="button" type="button" value="Cancel" onclick="FBModal_hide()" />
</div>
</div>
</form>